package stardecision.logic;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class ValidateDecisionTestCase {

	@Test 
	public void testValidateTrueIsTrue() {
		ValidateDecision validationDecision = new ValidateDecision();
		boolean actual = validationDecision.validate("yes");
		boolean expected = true;
		
		assertEquals(expected, actual);
		
	}
	
	@Test 
	public void testValidateTrueIsFalse() {
		ValidateDecision validationDecision = new ValidateDecision();
		boolean actual = validationDecision.validate("yes");
		boolean expected = false;
		
		assertEquals(expected, actual);
		
	}
	
	@Test 
	public void testValidateFalseIsTrue() {
		ValidateDecision validationDecision = new ValidateDecision();
		boolean actual = validationDecision.validate("no");
		boolean expected = false;
		
		assertEquals(expected, actual);
		
	}
	
	@Test 
	public void testValidateFalseIsFalse() {
		ValidateDecision validationDecision = new ValidateDecision();
		boolean actual = validationDecision.validate("yes");
		boolean expected = false;
		
		assertEquals(expected, actual);
		
	}

}
